home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 September / CHIP Eylül 1998.iso / slakware / d1 / maketag.ez < prev    next >
Text File  |  1997-05-07  |  2KB  |  61 lines

  1. #!/bin/sh
  2. #item   ####description                                      ###on off ###
  3. TMP=/var/log/setup/tmp
  4. if [ ! -d $TMP ]; then
  5.   mkdir -p $TMP
  6. fi
  7. cat /dev/null > $TMP/SeTnewtag
  8. dialog --title "SELECTING PACKAGES FROM SERIES D (PROGRAM DEVELOPMENT)" \
  9.        --checklist "Please select the packages you wish to install \
  10. from series D. Use the \
  11. UP/DOWN keys to scroll through the list, and the SPACE key to select \
  12. the packages you wish to install. Recommended packages have \
  13. already been selected for you, but you may unselect them if you wish. \
  14. Press ENTER when you are \
  15. done." 22 70 11 \
  16. "binutils" "GNU C compiler utilities" "on" \
  17. "bison" "GNU bison parser generator 1.25" "on" \
  18. "byacc" "Berkeley Yacc" "on" \
  19. "egcs" "GNU gcc C/C++ compiler" "on" \
  20. "egcsobjc" "GNU Objective-C compiler" "off" \
  21. "egcs_g77" "GNU Fortran-77 compiler" "off" \
  22. "flex" "Fast lexical analyzer generator 2.5.4" "on" \
  23. "gdb" "The GNU debugger" "on" \
  24. "gcl" "GNU Common LISP" "off" \
  25. "gmake" "GNU make" "on" \
  26. "libc" "Libraries for developing ELF binaries" "on" \
  27. "libcinfo" "Info files for the C compiler" "off" \
  28. "linuxinc" "Linux kernel include files" "on" \
  29. "m4" "GNU m4 1.4" "on" \
  30. "ncurses" "A curses-compatible library" "on" \
  31. "p2c" "A Pascal to C translator 1.19" "off" \
  32. "perl" "Larry Wall's systems language" "on" \
  33. "pmake" "BSD 4.4 make" "on" \
  34. "python" "An interpreted object-oriented language" "off" \
  35. "rcs" "GNU revision control system" "off" \
  36. "svgalib" "Svgalib Super-VGA Graphics Library" "on" \
  37. "strace" "Traces program execution" "on" \
  38. "terminfo" "Complete /usr/lib/terminfo database" "off" \
  39. 2> $TMP/SeTpkgs
  40. if [ $? = 1 -o $? = 255 ]; then
  41.  rm -f $TMP/SeTpkgs
  42.  > $TMP/SeTnewtag
  43.  for pkg in binutils bison byacc egcs egcs_g77 egcsobjc flex gcl gdb gmake \
  44.   libc libcinfo linuxinc m4 ncurses p2c perl pmake python rcs strace \
  45.   svgalib terminfo ; do
  46.   echo "$pkg: SKP" >> $TMP/SeTnewtag
  47.  done
  48.  exit
  49. fi
  50. cat /dev/null > $TMP/SeTnewtag
  51. for PACKAGE in binutils bison byacc egcs egcs_g77 egcsobjc flex gcl gdb gmake \
  52.  libc libcinfo linuxinc m4 ncurses p2c perl pmake python rcs strace \
  53.  svgalib terminfo ; do
  54.  if fgrep \"$PACKAGE\" $TMP/SeTpkgs 1> /dev/null 2> /dev/null ; then
  55.   echo "$PACKAGE: ADD" >> $TMP/SeTnewtag
  56.  else
  57.   echo "$PACKAGE: SKP" >> $TMP/SeTnewtag
  58.  fi
  59. done
  60. rm -f $TMP/SeTpkgs
  61.